package sk.stuba.fiit.repka.dp.owl;

import java.util.ArrayList;
import java.util.List;

public class MyOWLIndividual extends OWLComponent{
//	private String name; TODO remove after test
	private MyOWLClass type;
	
	private List<ObjPropIndiAssociation> objAssociations;
	private List<DataPropIndiAssociation> dataAssociations;
	
//	public String getName() {
//		return name;
//	}
	
	public MyOWLClass getType() {
		return type;
	}
	
	public List<ObjPropIndiAssociation> getObjAssociations() {
		if(this.objAssociations == null) {
			this.objAssociations = new ArrayList<ObjPropIndiAssociation>();
		}
		return objAssociations;
	}
	
	public List<DataPropIndiAssociation> getDataAssociations() {
		if(this.dataAssociations == null) {
			this.dataAssociations = new ArrayList<DataPropIndiAssociation>();
		}
		return dataAssociations;
	}

	public MyOWLIndividual(String name, MyOWLClass type) {
		super(name);
//		this.name = name;
		this.type = type;
	}
}
